<?php
/**
 * Created by JetBrains PhpStorm.
 * User: zhouyang
 * Date: 13-9-15
 * Time: 下午4:31
 * To change this template use File | Settings | File Templates.
 */
class TagsModel extends Model{
    //根据tag_id 获取tag 信息
    public function get($tag_id){
        return $this->dbreader()->get($tag_id);
    }

    //批量获取标签信息
    public function mulitGetTagInfoByNames($tag_names){
        $str_tag_names = implode(',',$tag_names);
        return $this->dbreader()->mulitGetTagInfoByNames($str_tag_names);
    }
}